package com.erp.service;

import com.erp.entity.Warehouse;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pyj
 * @since 2020-11-07
 */
public interface WarehouseService {

    Warehouse findWarehouseByName(String name);

    List<Warehouse> getAll();

    int add(Warehouse warehouse);

    int delete(Integer id);
    
    int update(Warehouse warehouse);
}
